package com.itheima.annotation;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("TeacherService")
public class TeacherServiceImpl implements TeacherService {
	@Resource(name = "teacherDao")
	private teacherDao teacherDao;

	public void talk() {
		this.teacherDao.talk();
		System.out.println("teacherservice talk...");
	}


}
